@base-color: #1890ff;
@base-hover:#096dd9;
@base-light: #91d5ff;
@base-shadow:#e6f7ff;

/*css 初始化 */
html,
body,
ul,
li,
ol,
dl,
dd,
dt,
p,
h1,
h2,
h3,
h4,
h5,
h6,
form,
table,
fieldset,
legend,
input,
textarea {
    margin: 0;
    padding: 0;
}

img {
    vertical-align: top;
    border: 0;
}

a {
    text-decoration: none;
    color: @base-color;

    &:hover{
        color: @base-hover;
    }
}

li {
    list-style: none;
}

input:focus,
textarea:focus,
select:focus {
    outline-style: none;
}

textarea {
    resize: none;
    /*不能改变多行文本框的大小*/
}

fieldset,
img,
input,
button {
    /*fieldset组合表单中的相关元素*/
    border: none;
    padding: 0;
    margin: 0;
    outline-style: none;
    /*去除蓝色边框*/
}

table {
    border-collapse: collapse;
    /*合并外边线*/
}

img {
    width: 100%;
    height: auto;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}

.clearfix {
    zoom: 1;
}



h1,
h2,
h3,
h4,
h5,
h6 {
    text-decoration: none;
    font-weight: normal;
    font-size: 100%;
}

s,
i,
em {
    font-style: normal;
    text-decoration: none;
}


/*公共类*/
.w1249 {
    width: 1249px;
    margin: 0 auto;
}
.w1000 {
    width: 1000px;
    margin: 0 auto;
}

.fl {
    float: left
}

.fr {
    float: right
}



// 修改原生样式
.ant-input,
.ant-btn {
    color: #fff;
    border-color: #ccc;
    border-radius: 0;

    &:hover {
        border-color: @base-hover !important;
    }
    &:focus {
        border-color: @base-color !important;
    }
}
.ant-input {
    color: @base-color;
}

.ant-btn {
    background-color: @base-color;
    color: #fff;

    &:hover,
    &:focus {
        color: #fff;
        background-color: @base-hover;
    }
}

.ant-checkbox-inner {
    border-color: @base-color !important;
    border-radius: 0;
}

.ant-checkbox-checked .ant-checkbox-inner {
    border-color: @base-color;
    background-color: @base-color;
    border-radius: 0;
}

.ant-btn-primary {
    background-color: @base-color;
    &:hover,
    &:focus {
        background-color: @base-hover;
    }
}

.ant-input-affix-wrapper {
    &:hover,
    &:focus {
        border-color: @base-hover !important;
    }
}

.ant-carousel .slick-dots li button {
    background-color: #ccc;
}
.ant-carousel .slick-dots li.slick-active button {
    background-color: @base-light;
}



// 共用样式
.form{
    .ant-layout-header {
        width: 1000px;
        position: fixed;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        z-index: 1;
    }

    .ant-layout-header {
        background: #333;
    }

    .ant-menu-dark, .ant-menu-dark .ant-menu-sub {
        background: #333;
    }

    .header-r {
        position: absolute;
        right: 50px;
        top: 0;
        color: #ccc;
    }
    
    .reg-form {
        width: 650px;
        // background-color: #f0f0f0;
        margin: 90px auto;
        margin-bottom: 0;
        padding: 30px 130px 10px 0;

        .submit {
            width: 100%;
        }

        .yzm.ant-btn {
            background-color: #fff;
            color: @base-color;
            font-family: Consolas;
        }
    }
}
.my-spin {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}